package com.hl.sfzy.mapper.my;

import com.hl.sfzy.entity.my.MyAnswer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MyAnswerMapper {
    List<MyAnswer> myAnswerList(@Param("userId") int userId, @Param("offset") int offset, @Param("pageSize") int pageSize);
    int countMyAnswers(@Param("userId") int userId);
}
